package com.yunhe.inspect.service;

import com.yunhe.inspect.domain.InspectProcess;

import java.util.List;

/**
 * @ClassName: InspectProcessService
 * @Description:
 * @author: GongDaCheng
 * @Date: 17:47 2021/11/11
 */
public interface InspectProcessService {

    /**
     * 新增
     */
    int createInspectProcess (InspectProcess inspectProcess);

    /**
     * 删除
     */
    int deleteInspectProcess(int id);

    /**
     * 更新
     */
    int updateInspectProcess(InspectProcess inspectProcess);

    /**
     * 根据主键 id 查询
     */
    InspectProcess findInspectProcessById(int id);

    List<InspectProcess> getReviewProcessListByOrderId(Long inspectOrderId);

    InspectProcess getListByRectificationId(Long rectificationId);

}
